import request from '../../utils/request';

export const fetchPageList = (query) => {
    return request({
        url: '/media/new/list/page',
        method: 'post',
        data: query
    })
}

export const addNewList = (query) => {
    return request({
        url: '/media/new/list/save',
        method: 'post',
        data: query
    })
}

export const getDetails = (query) => {
    return request({
        url: '/media/new/list/details',
        method: 'post',
        data: query
    })
}

export const updateNewList = (query) => {
    return request({
        url: '/media/new/list/update',
        method: 'post',
        data: query
    })
}

export const deleteNewList = (query) => {
    return request({
        url: '/media/new/list/delete',
        method: 'post',
        data: query
    })
}


export const copyNewList = (query) => {
    return request({
        url: '/media/new/list/copy',
        method: 'post',
        data: query
    })
}